{*include file="template/admin_head.htm"*}
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="containtable" class="{*$cf_controller*}">
    <tr>
	<td valign="top" bgcolor="#FFFFFF">
	    <div class="wrapper pr_8">
		{*if $cf_action=='edit'*}		
		    <form action="{*$form_action*}" method="post" name="act_form" id="act_form">
			<input id="sessionid" type="hidden" value="{*$cf_sessionid*}" />
			<input name="id" id="id" type="hidden" value="{*$row['art_comment_id']*}" />
			<input name="act" id="act" type="hidden" value="{*$cf_action*}" />			
		  <div class="content_panel_title">
			    <div class="contentpanelleft"></div>
			    <div class="contentpanelcenter">
				<span class="contentpanelcenter_font">文章点评详情</span>
				<span><a class="edit at" href="{*$cf_self_page*}?dpt={*$cf_dpt*}">文章点评管理</a></span>
			    </div>
			    <div class="contentpanelrihgt"></div>
			</div>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tbl tbl_nbr">
                                <tbody>
							
									<tr>
                                        <td colspan="4" class="stitle">点评信息</td>
                                    </tr>									
                                    <tr>
                                    	<td width="15%" align="right">用户:</td>
                                    	<td width="34%" align="left">{*$row['art_comment_nickname']*}</td>
                                    	<td width="16%" align="right">点赞数:</td>
                                    	<td width="35%" align="left">{*$row['art_comment_like']*}</td>
                                   	</tr>
                                   <tr>
                                    	<td align="right">点评内容:</td>
                                    	<td colspan="3" align="left">{*$row['art_comment_content']*}</td>
                                   	</tr> 
                                    <tr>
                                    	<td align="right">创建时间:</td>
                                    	<td colspan="3" align="left">{*$row['art_comment_create_time']*}</td>
                                   	</tr> 								
								
									<tr>
                                        <td colspan="4" class="stitle">显示状态</td>
                                    </tr>
									<tr>
                                        <td align="right">状态:</td>
                                        <td align="left">{*html_radios name=art_comment_status options=$cf_info_var_common['comment_status'] checked=$row['art_comment_status']|default:'0'*}</td>
                                        <td align="right"></td>
                                        <td align="left"></td>
                                    </tr>
									 <tr>
                                        <td colspan="4" align="center"><input type="submit" name="Submit" class="myinput" value="提 交" />
                                            &nbsp;&nbsp;
                                            <input type="button" name="back" class="myinput" value="返 回" onclick="window.history.back()" /></td>
                                    </tr>                             
									
                                </tbody>
                            </table>
		    </form>
		
		<br />
		{*else*}	

		<div class="pannel">
		    <div class="pl"></div>
		    <div class="pr"></div>
		    <div class="pc1">
			<form name="search_form" id="search_form" method="get" action="{*$cf_self_page*}">
			    <input name="dpt" id="dpt" type="hidden" value="{*$cf_dpt*}" />
                <input name="self" id="self" type="hidden" value="{*$self*}" />
			    <div class="pt">文章点评内容:
				  <input type="text" class="tet" name="skey" id="skey" size="20" value="{*$skey*}"/>
                  用户:
				  <input type="text" class="tet" name="skey4" id="skey4" size="20" value="{*$skey4*}"/>					  
                  &nbsp;&nbsp;创建时间:
					<input name="skey2" class="Wdate" type="text" id="act_start" value="{*$skey2*}" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'act_end\')}',dateFmt:'yyyy-MM-dd',isShowClear:true,readOnly:true});" size="10" maxlength="30" />
					到<input name="skey3" class="Wdate" type="text" id="act_end" value="{*$skey3*}" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'act_start\')}',dateFmt:'yyyy-MM-dd',isShowClear:true,readOnly:true});" size="10" maxlength="30" />
					 &nbsp;	
				<!--分类:{*html_options name=self options=$help_sort selected=$stype*}-->
				<input type="image" src="public/images/admin/icon_search_btn.gif" /></div>		
			</form>
		    </div>

		</div>



				    <div class="content_panel_title">
			<div class="contentpanelleft"></div>
			<div class="contentpanelcenter">
			    <span class="contentpanelcenter_font">文章点评管理</span></div>
			<div class="contentpanelrihgt"></div>
		    </div>
		    <div class="content_table_center_style">
			<div class="p8">
			<div class="bq clearfix">
				<b><a href="{*$cf_self_path*}-act_index.htm?dpt={*$cf_dpt*}" class="{*if $self==''*}active{*/if*}">所 有 </a></b>
				{*foreach $cf_info_var_common['comment_status'] as $key=>$value*}
				{*if $key==$self && $self!=''*}
				{*$class='active'*}
				{*else*}
				{*$class=''*}
				{*/if*}
				<b><a href="{*$cf_self_path*}-act_index.htm?dpt={*$cf_dpt*}&self={*$key*}" class="{*$class*}" >{*$value*}</a></b>
				{*/foreach*}
			    </div>
			<form name="list_form" id="list_form" method="post" action="{*$cf_self_page*}">
			    <input name="act" type="hidden" value="all" />
			    <input name="dpt" id="dpt" type="hidden" value="{*$cf_dpt*}" />
			    <table width="100%" class="tbl tbl_nbr">
				<thead>
				    <tr class="thd">
					<td width="5%" align="center" class="thr">ID</td>
					<td width="56%" align="center" class="thr">点评内容</td>
					<td width="8%" align="center" class="thr">用户</td>
					<td width="9%" align="center" class="thr">状态</td>
					<td width="16%" align="center" class="thr">创建时间</td>
					<td colspan="2" align="center" class="thr">操作</td>
				    </tr>
				</thead>
				<tbody>
				    {*foreach $data_ary as $k=>$v*}			    
				    <tr onmouseover="this.style.backgroundColor='#ffC'" onmouseout="this.style.backgroundColor='#ffF'">
					<td align="center">{*$v['art_comment_id']*}</td>
					<td align="center">{*$v['art_comment_content']|truncate:50*}</td>
					<td align="left"><a href="javascript:void(0)" title="查看詳情" onclick="$(function(){my_iframe('{*$cf_module_path*}detail-act_user.htm?id={*$v['art_comment_uid']*}','查看用户详情',700,500)})" class="edit" >{*$v['art_comment_nickname']*}</a></td>
					<td align="center">{*$cf_info_var_common['comment_status'][$v['art_comment_status']]*}
                   </td>
					<td align="center">{*$v['art_comment_create_time']*}</td>
					<td width="3%" align="center"><a href="{*$cf_self_path*}-act_edit_id_{*$v['art_comment_id']*}.htm?dpt={*$cf_dpt*}" class="edit" >查看</a></td>
					<td width="3%" align="center"><a href="{*$cf_self_path*}-act_del_id_{*$v['art_comment_id']*}.htm?dpt={*$cf_dpt*}" class="del" onclick="return confirm('你确定要删除吗?')">删除</a></td>
				    </tr>
				    {*/foreach*}

				    <tr class="tft">
					<td colspan="8" style="padding:0;">
					    <table width="100%" border="0">
						<tr>
						    <td width="6%" align="center" style="border:0;padding:0;">&nbsp;</td>
						    <td width="22%" align="center" style="border:0;padding:0;">&nbsp;</td>
						    <td width="72%" style="border:0;padding:0;" ><div class="turnPage"><p>{*$page*}</p></div></td>
						</tr>
					    </table>
					</td>
				    </tr>
				</table>
			</form>
		    </div>
                </div>
		<div class="content_main_bottom">
                    <div class="content_main_bottom_left"></div>
                    <div class="content_main_bottom_right"></div>
                </div>
            </div>
            <br />
            {*/if*}

	    </div>
	</td>
	</tr>
</table>
{*include file="template/admin_foot.htm"*}